home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 October / EnigmA AMIGA RUN 01 (1995)(G.R. Edizioni)(IT)[!][issue 1995-10][Aminet 7].iso / Aminet / comm / tcp / wu_ftpd_37_21.lha / wu-ftpd / Install_FTPD next >
Text File  |  1995-02-25  |  2KB  |  73 lines

  1. ; Installer script for wu-ftpd
  2. ; $VER: Install_FTPD 1.1 (25.2.95)
  3.  
  4. ; No default destination
  5. (set @default-dest "")
  6.  
  7. ; Test if user has at least Kickstart and Workbench 2.0
  8. (if (< (/ (getversion "LIBS:version.library") 65536) 37)
  9.     (set doabort 1)
  10. )
  11. (if (< (/ (getversion) 65536) 37)
  12.     (set doabort 1)
  13. )
  14. (if doabort
  15.     (abort "You need Kickstart and Workbench 2.0 or higher to install this FTP server. Sorry.")
  16. )
  17.  
  18. ; Is AmiTCP 3.0 installed?
  19. (if (NOT (exists "AmiTCP:libs/usergroup.library" (noreq)))
  20.     (abort "You need AmiTCP 3.0 or higher to use this FTP server. Sorry.")
  21. )
  22.  
  23. ; Show welcome message
  24. (welcome)
  25.  
  26. ; Copy the FTP server
  27. (copyfiles
  28.     (prompt "Copy FTP daemon?")
  29.     (help "The FTP daemon is the heart of the FTP server, if you don't copy this you won't be able to use the server.")
  30.     (source "bin/ftpd")
  31.     (dest "AmiTCP:serv")
  32.     (confirm)
  33. )
  34.  
  35. (complete 30)
  36.  
  37. ; Copy utilities
  38. (copyfiles
  39.     (prompt "Copy ftpshut utility?")
  40.     (help "The ftpshut command is used to shutdown the FTP server.")
  41.     (source "bin/ftpshut")
  42.     (dest "AmiTCP:bin")
  43.     (confirm)
  44. )
  45.  
  46. (complete 60)
  47.  
  48. (copyfiles
  49.     (prompt "Copy ftpcount utility?")
  50.     (help "The ftpcount command is used to count the number of users that are currently using the FTP server.")
  51.     (source "bin/ftpcount")
  52.     (dest "AmiTCP:bin")
  53.     (confirm)
  54. )
  55.  
  56. (complete 80)
  57.  
  58. ; Copy configuration files
  59. (if (NOT (exists "AmiTCP:db/ftpaccess" (noreq)))
  60.     (copyfiles
  61.         (prompt "Copy example configuration files?")
  62.         (help "This are only example configuration files. You will need to change them. See the wu-ftp.guide on how to do this.")
  63.         (source "examples")
  64.         (dest "AmiTCP:db")
  65.         (all)
  66.         (confirm)
  67.     )
  68. )
  69.  
  70. (complete 100)
  71.  
  72. (exit "You should now change the file AmiTCP:db/ftpaccess and add some lines to your AmiTCP:db/inetd.conf file. You should also setup your ftp accounts. For more information see the supplied wu-ftp.guide documentation file.")
  73.